package com.jxj.entity;

import com.jxj.entity.gen.TOrganizationMsg;
import lombok.Data;

/**
 * @Author Cambria
 * @creat 2021/9/6 14:56
 */
@Data
public class OrganizationInfoVO {
    private String index_img;
    private String class_two;
    private String class_one;
    private String name;
    private Integer rid;
    private String intro;
    private Integer hot;

    public OrganizationInfoVO(TOrganizationMsg msg) {
        index_img = msg.getIndex_img();
        class_one = msg.getClass_one();
        class_two = msg.getClass_two();
        name = msg.getName();
        rid = msg.getId();
        intro = msg.getOrgIntroduce();
        hot = msg.getHot();
    }
}
